package com.hebust.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "major")
public class Major {
    @Id
    private Integer mId;

    private Integer mDepartmentId;

    private String mName;
}
